package org.mindrive.system.collection.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("USERS")
@ApiModel(value = "用户对象", description = "")
public class UserEntity {

	@TableId(value = "ID", type = IdType.ASSIGN_ID)
	private String id;

	//账号
	@TableField("USER_ID")
	private String userId;

	@TableField("USER_NAME")
	private String userName;

	@TableField("PASSWORD")
	private String password;

	@TableField("AVATAR")
	private String avatar;

	@TableField("EMAIL")
	private String email;

	@TableField("PHONE_NUMBER")
	private String phoneNumber;

	@TableField("STATUS")
	private String status;

	@TableField("CURRENT_WORKSPACE_ID")
	private String currentWorkspaceId;

	//本月是否已经填报(1:已填报 0:未填报)
	@TableField("FILL_OUT_STATUS")
	private String fillOutStatus;

	//身份证号
	@TableField("ID_NUMBER")
	private String idNumber;

	//银行账号
	@TableField("BANK_CARD_NUMBER")
	private String bankCardNumber;

	@TableField("CREATOR")
	private String creator;

	@TableField("CREATED_AT")
	private Date createdAt;

	@TableField("UPDATOR")
	private String updator;

	@TableField("UPDATED_AT")
	private Date updatedAt;

	//是否为主管人员
	@TableField(exist = false)
	private String personInCharge;

}
